@import '../assets/global-style.scss';

@keyframes scale-ani{
  0%{
    opacity: 0.1;
    transform: scale(1);
  }
  50%{
    opacity: 0.8;
    transform: scale(0.2);
  }
  100%{
    opacity: 0.1;
    transform: scale(1);
  }
}
#loading{
  width: 70px;
  height: 70px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  span{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 70px;
    height: 70px;
    background-color: $theme-color;
    border-radius: 50%;
    &:nth-of-type(1){
      opacity: 0.5;
    }
    &:nth-of-type(2){
      animation: scale-ani 2s infinite linear both;
    }
  }
}